package com.fcat.common.user.exception;

import com.netflix.hystrix.exception.HystrixBadRequestException;

/**
 * Project Name: user-center
 * Package Name: com.higovnet.user.center.exception
 *
 * @author：Liubinwang
 * @date：2018/9/30 15:18
 * Copyright (c) 2018,higovnet.net All Rights Reserved.
 */
public class FeignRequestException extends HystrixBadRequestException {

    private int status;

    public FeignRequestException(String message) {
        super(message);
    }

    public FeignRequestException(String message, Throwable cause) {
        super(message, cause);
    }

    public FeignRequestException(String message, int status) {
        super(message);
        this.status = status;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
